package mypack.test;

import java.util.Calendar;
import java.util.Date;

public class GetWeek {
	
	public static void main(String [] args){
		
	   Calendar calendar = Calendar.getInstance();
	   calendar.setTime(new Date(System.currentTimeMillis()));
	   int dayOfWeek = calendar.get(Calendar.DAY_OF_WEEK);
	   System.out.println(dayOfWeek);	
	}
	
	
	
	

}
